#!/usr/bin/env python
# -*- coding: utf-8 -*-
from documents.itemtype import ItemType
from upload.views import upload, add_upload, delete_upload, change_upload, add_document_upload
from upload.models import Upload
from upload.template_tags import render_add_item, render_add_document_item,\
    render_show_item

# Initialize as Item - let the Documents app know we exists
item_type = ItemType("Upload", "Upload einer beliebigen Datei", Upload, 'upload.views.upload', 'upload.views.add_upload', 'upload.views.add_document_upload', 'upload.views.delete_upload', 'upload.views.change_upload', render_add_item, render_add_document_item, render_show_item)
item_type.register()